﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SaladBar.Domain.Users
{
    public class User : PersistentObject
    {
        public virtual string Username { get; set; }
        public virtual string Email { get; set; }
        public virtual string PasswordSalt { get; set; }
        public virtual string PasswordHash { get; set; }
        public virtual string PasswordQuestion { get; set; }
        public virtual string PasswordAnswer { get; set; }
        public virtual DateTime? LastLoginDate { get; set; }
        public virtual DateTime LastActivityDate { get; set; }
        public virtual bool IsApproved { get; set; }
        public virtual bool IsLockedOut { get; set; }
        public virtual DateTime? LastPasswordChangeDate { get; set; }
        public virtual DateTime? LastLockoutDate { get; set; }
        public virtual UserProfile Profile { get; set; }
    }
}
